#!/usr/bin/env python3
"""
AI 生辰八字算命系统启动脚本
"""

import uvicorn
from config import settings

if __name__ == "__main__":
    print(f"启动 {settings.APP_NAME}...")
    print(f"调试模式: {settings.DEBUG}")
    print("访问地址: http://localhost:8000")
    print("API 文档: http://localhost:8000/docs")
    
    uvicorn.run(
        "main:app",
        host="0.0.0.0",
        port=8000,
        reload=settings.DEBUG,
        log_level="info"
    )
